<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="base.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=GBK" />
	<title>个人页面</title>
	<link rel="stylesheet" type="text/css" href="${basePath }/style/reset.css" media="all" />
	<link rel="stylesheet" type="text/css" href="${basePath }/style/layout.css" media="all" />
	<link rel="stylesheet" type="text/css" href="${basePath }/style/invalid.css" media="all" />
	<link rel="stylesheet" type="text/css" href="${basePath }/style/style.css" media="all" />
	<script type="text/javascript" src="${basePath }/script/jquery-1.4.3.min.js"></script>
	<script type="text/javascript" src="${basePath }/script/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="${basePath }/script/jquery.tipTip.minified.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$(".tip").tipTip();
		});
	</script>
	<script type="text/javascript" src="${basePath }/script/simpla.js"></script>
</head>
<body>
	<div id="body-wrapper">
		<!-- sidebar开始 -->
		<%@ include file="left.jsp" %>
		<!-- sidebar结束 -->
		<!-- main-content开始 -->
		<div id="main-content">
			<div class="content-box closed-box">
				<div class="content-box-header">
					<h3><a href="index.jspx">首页</a>&gt ${user.name}</h3>
				</div>
			</div>
			<!-- 个人资料开始 -->
			<div class="content-box">
				<div class="content-box-header">
					<h3>
						${user.name}个人资料
					</h3>
				</div>
				<div class="content-box-content">
					<span>注册于  ${user.createdate}</span>
				</div>
			</div>
			<!-- 个人资料结束 -->
			<!-- 最近新建开始 -->
			<div class="content-box">
				<div class="content-box-header">
					<h3>
						${user.name}最近创建的任务
					</h3>
				</div>
				<div class="content-box-content">
					<c:forEach items="${user.issueses}" var="issues" >
						<div class="issues done png_bg">
							<div>
								<a title="${issues.title}" href="${basePath}/issues.jspx?id=${issues.id}">${issues.title}</a>
								<span>
									<a class="black" href="#">${issues.user.name}</a> 
									创建于 4天前
								</span>
							</div>
						</div>
					</c:forEach>
				</div>
			</div>
			<!-- 最近新建任务结束 -->
			
			<%@include file="foot.jsp" %>
		</div>
		<!-- main-content结束 -->
	</div>

</body>
</html>
